package com.example.myapplication.models;

public class Banner {
    private int id;
    private String imageUrl;
    private String title;
    private String targetUrl;
    private int courseId;

    public Banner(int id, String imageUrl, String title, String targetUrl, int courseId) {
        this.id = id;
        this.imageUrl = imageUrl;
        this.title = title;
        this.targetUrl = targetUrl;
        this.courseId = courseId;
    }

    // Getters and Setters
    public int getId() { return id; }
    public void setId(int id) { this.id = id; }
    public String getImageUrl() { return imageUrl; }
    public void setImageUrl(String imageUrl) { this.imageUrl = imageUrl; }
    public String getTitle() { return title; }
    public void setTitle(String title) { this.title = title; }
    public String getTargetUrl() { return targetUrl; }
    public void setTargetUrl(String targetUrl) { this.targetUrl = targetUrl; }
    public int getCourseId() { return courseId; }
    public void setCourseId(int courseId) { this.courseId = courseId; }
}